The Generic ServiceStreamer Class is available as an add-on to the LEADTOOLS Medical Imaging toolkits.
The Generic ServiceStreamer Class is available in LEADTOOLS Version 16 or later.
Provides a generic implementation for streaming data from web services and synchronizing with the UI (user interface) updates.Visual Basic (Declaration) | |
---|---|
Public MustInherit Class ServiceStreamer (Of TStreamedData,TServiceState) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public abstract class ServiceStreamer<TStreamedData,TServiceState> |
C++/CLI | |
---|---|
generic<typename TStreamedData> generic<typename TServiceState> public ref class ServiceStreamer abstract |
- TStreamedData
- The user type returned from the called web service.
- TServiceState
- User state information.
This is an abstract class which you need to override and implement the abstract methods in order to use. The class allow inheritors to specify the number of concurrent web calls they want make at once and synchronize this with updating the UI with the streamed data.
System.Object
Leadtools.Web.Services.ServiceStreamer
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family